package com.lj.demo.ucenterService;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: liujiang
 * @Date: 2020/12/23/22:54
 * @Description:
 */
@ComponentScan({"com.lj.demo"})
@SpringBootApplication        //取消数据源自动配置
@MapperScan("com.lj.demo.ucenterService.mapper")
@EnableFeignClients
@EnableDiscoveryClient
public class UcentApplication {
    public static void main(String[] args) {
        SpringApplication.run(UcentApplication.class,args);
    }
}
